<%--
  Created by IntelliJ IDEA.
  User: 31324
  Date: 2025/6/16
  Time: 16:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/layui/css/layui.css">
  <script src="/layui/layui.js"></script>
  <script src="/layui/jquery-3.6.0.min.js"></script>
  <script>
    $(function () {
      layui.use(['form', 'layedit', 'laydate'], function () {
        var form = layui.form
                , layedit = layui.layedit
                , laydate = layui.laydate;

      });
    })
  </script>
</head>
<body>
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
  <legend>角色信息添加</legend>
</fieldset>
<div class="layui-bg-gray" style="padding: 0px;">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md12">
      <div class="layui-card">
        <div class="layui-card-body">

          <form class="layui-form layui-form-pane" action="/role/add" method="post">
            <div class="layui-form-item">

              <label class="layui-form-label">角色名</label>
              <div class="layui-input-block" style="width:72%">
                <input type="text" name="roleName" required lay-verify="required" autocomplete="off"
                       class="layui-input"  placeholder="请输入角色名称">
              </div>


            </div>

            <div class="layui-form-item">

              <label class="layui-form-label">角色描述</label>
              <div class="layui-input-inline"></div>
              <textarea name="roleDesc" style="width:72%" required lay-verify="required"
                        placeholder="请输入角色描述" class="layui-textarea"></textarea>
            </div>
            <div class="layui-form-item">
              <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
                <a class="layui-btn layui-btn-primary layui-border-blue"
                   href="javascript:history.go(-1)">返回</a>
              </div>
            </div>
          </form>



        </div>
      </div>
    </div>
  </div>
</div>
</div>
</body>
</html>
